Spaces:
Running
Running
Commit
Β·
8fd12db
1
Parent(s):
89aa998
update repository references from SushantGautam to SimulaMet in gradio_interface.py and task_1.py
Browse files
gradio_interface.py
CHANGED
|
@@ -9,7 +9,7 @@ from pathlib import Path
|
|
| 9 |
from huggingface_hub import whoami
|
| 10 |
print("Account token used to connect to HuggingFace: ", whoami()['name'])
|
| 11 |
|
| 12 |
-
SUBMISSION_REPO = "
|
| 13 |
hub_path = None
|
| 14 |
|
| 15 |
submissions = None # [{"user": u, "task": t, "submitted_time": ts}]
|
|
|
|
| 9 |
from huggingface_hub import whoami
|
| 10 |
print("Account token used to connect to HuggingFace: ", whoami()['name'])
|
| 11 |
|
| 12 |
+
SUBMISSION_REPO = "SimulaMet/medvqa-submissions"
|
| 13 |
hub_path = None
|
| 14 |
|
| 15 |
submissions = None # [{"user": u, "task": t, "submitted_time": ts}]
|
medvqa/competitions/gi-2025/task_1.py
CHANGED
|
@@ -39,7 +39,7 @@ except Exception:
|
|
| 39 |
print("β οΈβ οΈ Not logged in to HuggingFace! Please get your login token from https://huggingface.co/settings/tokens π")
|
| 40 |
login()
|
| 41 |
|
| 42 |
-
client = Client("
|
| 43 |
print("π Communicating with the Submission Server: Ping!")
|
| 44 |
result = client.predict(
|
| 45 |
api_name="/RefreshAPI"
|
|
@@ -114,4 +114,4 @@ else:
|
|
| 114 |
})
|
| 115 |
print(result)
|
| 116 |
print("Visit this URL to see the entry: π")
|
| 117 |
-
Client("
|
|
|
|
| 39 |
print("β οΈβ οΈ Not logged in to HuggingFace! Please get your login token from https://huggingface.co/settings/tokens π")
|
| 40 |
login()
|
| 41 |
|
| 42 |
+
client = Client("SimulaMet/medvqa")
|
| 43 |
print("π Communicating with the Submission Server: Ping!")
|
| 44 |
result = client.predict(
|
| 45 |
api_name="/RefreshAPI"
|
|
|
|
| 114 |
})
|
| 115 |
print(result)
|
| 116 |
print("Visit this URL to see the entry: π")
|
| 117 |
+
Client("SimulaMet/medvqa")
|