Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
-
import time
|
| 4 |
|
| 5 |
# Custom CSS for cool animations and modern design
|
| 6 |
custom_css = """
|
|
@@ -218,10 +217,7 @@ chatbot = gr.ChatInterface(
|
|
| 218 |
label="🎯 Top-p (nucleus sampling)",
|
| 219 |
),
|
| 220 |
],
|
| 221 |
-
submit_btn="🚀 Send"
|
| 222 |
-
retry_btn="🔄 Retry",
|
| 223 |
-
undo_btn="↩️ Undo",
|
| 224 |
-
clear_btn="🗑️ Clear",
|
| 225 |
)
|
| 226 |
|
| 227 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo", secondary_hue="pink")) as demo:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
|
|
|
| 3 |
|
| 4 |
# Custom CSS for cool animations and modern design
|
| 5 |
custom_css = """
|
|
|
|
| 217 |
label="🎯 Top-p (nucleus sampling)",
|
| 218 |
),
|
| 219 |
],
|
| 220 |
+
submit_btn="🚀 Send"
|
|
|
|
|
|
|
|
|
|
| 221 |
)
|
| 222 |
|
| 223 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo", secondary_hue="pink")) as demo:
|