tommymarto commited on
Commit
3807819
·
verified ·
1 Parent(s): 11c3768

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +2 -0
demo.py CHANGED
@@ -118,6 +118,8 @@ def generate_exercise(state):
118
  except KeyError as e:
119
  raise gr.Error(f"Missing key: {e}")
120
 
 
 
121
  step3 = requests.post(
122
  BASE_URL + "Exercises/GenerateExercise",
123
  headers={"ApiKey": API_KEY, "SetupModel": str(SETUP_MODEL)},
 
118
  except KeyError as e:
119
  raise gr.Error(f"Missing key: {e}")
120
 
121
+ print(json)
122
+
123
  step3 = requests.post(
124
  BASE_URL + "Exercises/GenerateExercise",
125
  headers={"ApiKey": API_KEY, "SetupModel": str(SETUP_MODEL)},