nikravan commited on
Commit
4ae7f71
·
verified ·
1 Parent(s): c0813d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -13
app.py CHANGED
@@ -18,7 +18,7 @@ CONTEXT_LENGTH = 16000
18
  # Estableciendo valores directamente para las variables
19
  COLOR = "blue" # Color predeterminado de la interfaz
20
  EMOJI = "🤖" # Emoji predeterminado para el modelo
21
- DESCRIPTION = f"This is the {MODEL_NAME} model designed for coding assistance and general AI tasks." # Descripción predeterminada
22
 
23
 
24
 
@@ -95,18 +95,8 @@ gr.ChatInterface(
95
  predict,
96
  title=EMOJI + " " + MODEL_NAME,
97
  description=DESCRIPTION,
98
- examples=[
99
- ["Can you solve the equation 2x + 3 = 11 for x in Python?"],
100
- ["Write a Java program that checks if a number is even or odd."],
101
- ["How can I reverse a string in JavaScript?"],
102
- ["Create a C++ function to find the factorial of a number."],
103
- ["Write a Python list comprehension to generate a list of squares of numbers from 1 to 10."],
104
- ["How do I implement a binary search algorithm in C?"],
105
- ["Write a Ruby script to read a file and count the number of lines in it."],
106
- ["Create a Swift class to represent a bank account with deposit and withdrawal methods."],
107
- ["How do I find the maximum element in an array using Kotlin?"],
108
- ["Write a Rust program to generate the Fibonacci sequence up to the 10th number."]
109
- ],
110
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
111
  additional_inputs=[
112
  gr.Textbox("You are a code assistant.", label="System prompt"),
 
18
  # Estableciendo valores directamente para las variables
19
  COLOR = "blue" # Color predeterminado de la interfaz
20
  EMOJI = "🤖" # Emoji predeterminado para el modelo
21
+ DESCRIPTION = f"This is the {MODEL_NAME} model designed for testing thinking for general AI tasks." # Descripción predeterminada
22
 
23
 
24
 
 
95
  predict,
96
  title=EMOJI + " " + MODEL_NAME,
97
  description=DESCRIPTION,
98
+ examples=[]
99
+
 
 
 
 
 
 
 
 
 
 
100
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
101
  additional_inputs=[
102
  gr.Textbox("You are a code assistant.", label="System prompt"),