Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ joke_demo = gr.Interface(
|
|
76 |
fn=generate_joke_interface,
|
77 |
inputs=[
|
78 |
gr.Textbox(label="Enter your message"),
|
79 |
-
gr.Radio(choices=regime_options, label="Choose Regime"),
|
80 |
gr.Slider(minimum=0, maximum=1, step=0.01, value=0.75, label="BM25 Coefficient"),
|
81 |
],
|
82 |
outputs=[
|
@@ -84,7 +84,7 @@ joke_demo = gr.Interface(
|
|
84 |
gr.Dataframe(headers=["Key", "Value"], label="Context"),
|
85 |
],
|
86 |
title="Joke Generator",
|
87 |
-
description="Generate jokes based on your input message. Select a retrieval regime and view the context used.\
|
88 |
Be careful, the jokes can be offensive! Try to write a message that is related to the joke you want to hear.\
|
89 |
(tell me a joke and its title about... or tell me a one liner about...). Sometimes bot works bad :(\
|
90 |
In this case, try to rewrite a message and send again. Or close the window and enter\
|
|
|
76 |
fn=generate_joke_interface,
|
77 |
inputs=[
|
78 |
gr.Textbox(label="Enter your message"),
|
79 |
+
gr.Radio(choices=regime_options, label="Choose Regime", value="Scores Combination"),
|
80 |
gr.Slider(minimum=0, maximum=1, step=0.01, value=0.75, label="BM25 Coefficient"),
|
81 |
],
|
82 |
outputs=[
|
|
|
84 |
gr.Dataframe(headers=["Key", "Value"], label="Context"),
|
85 |
],
|
86 |
title="Joke Generator",
|
87 |
+
description="Generate jokes based on your input message(Only in English :( )). Select a retrieval regime and view the context used.\
|
88 |
Be careful, the jokes can be offensive! Try to write a message that is related to the joke you want to hear.\
|
89 |
(tell me a joke and its title about... or tell me a one liner about...). Sometimes bot works bad :(\
|
90 |
In this case, try to rewrite a message and send again. Or close the window and enter\
|