Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ client = InferenceClient()
|
|
8 |
def fn_gemma_2(
|
9 |
prompt,
|
10 |
history,
|
11 |
-
input,
|
12 |
#system_prompt,
|
13 |
max_tokens,
|
14 |
temperature,
|
@@ -61,7 +61,7 @@ app_gemma_2 = gr.ChatInterface(
|
|
61 |
fn = fn_gemma_2,
|
62 |
type = "messages",
|
63 |
additional_inputs = [
|
64 |
-
gr.Textbox(label="Input"),
|
65 |
#gr.Textbox(value="You are a helpful assistant.", label="System Prompt"),
|
66 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
|
67 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
|
|
8 |
def fn_gemma_2(
|
9 |
prompt,
|
10 |
history,
|
11 |
+
#input,
|
12 |
#system_prompt,
|
13 |
max_tokens,
|
14 |
temperature,
|
|
|
61 |
fn = fn_gemma_2,
|
62 |
type = "messages",
|
63 |
additional_inputs = [
|
64 |
+
#gr.Textbox(label="Input"),
|
65 |
#gr.Textbox(value="You are a helpful assistant.", label="System Prompt"),
|
66 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
|
67 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|