Andrew Tanny Liem commited on
Commit ·
cc1a921
1
Parent(s): 928a8de
Update app.py and requirements.txt
Browse files- app.py +4 -4
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -126,10 +126,10 @@ def summarize(history: List[Tuple[str, str]], hf_token: gr.OAuthToken = None):
|
|
| 126 |
|
| 127 |
|
| 128 |
with gr.Blocks(title="Maya – Klinik Owner (Role-Play)") as demo:
|
| 129 |
-
with
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
|
| 134 |
gr.Markdown(
|
| 135 |
"""
|
|
|
|
| 126 |
|
| 127 |
|
| 128 |
with gr.Blocks(title="Maya – Klinik Owner (Role-Play)") as demo:
|
| 129 |
+
# Top login section (compatible with Gradio 4.x)
|
| 130 |
+
gr.Markdown("## Sign in to use the model")
|
| 131 |
+
gr.LoginButton()
|
| 132 |
+
gr.Markdown("Model: `" + HF_MODEL + "`")
|
| 133 |
|
| 134 |
gr.Markdown(
|
| 135 |
"""
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
gradio>=4.
|
| 2 |
huggingface_hub>=0.24.0
|
|
|
|
| 1 |
+
gradio>=4.44.1
|
| 2 |
huggingface_hub>=0.24.0
|