Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
1077d36
1
Parent(s):
6fd306e
Update dcogsphere.py
Browse files- dcogsphere.py +2 -0
dcogsphere.py
CHANGED
@@ -94,6 +94,8 @@ class RockPaperScissors(Model):
|
|
94 |
"Max to win: 24",
|
95 |
"Model 1: " + str(scora) + " Model 2: " + str(scorb),
|
96 |
fn_index=0)
|
|
|
|
|
97 |
log.score1=self.score1.text
|
98 |
log.score2=self.score2.text
|
99 |
self.stop()
|
|
|
94 |
"Max to win: 24",
|
95 |
"Model 1: " + str(scora) + " Model 2: " + str(scorb),
|
96 |
fn_index=0)
|
97 |
+
r = requests.post(url='https://ccml-persistent-data2.hf.space/api/predict/', json={"data": ["model1","model2"]})
|
98 |
+
|
99 |
log.score1=self.score1.text
|
100 |
log.score2=self.score2.text
|
101 |
self.stop()
|