Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,10 +112,12 @@ def vote_last_response(state, vote_type, model_selector):
|
|
112 |
|
113 |
def upvote_last_response(state):
|
114 |
vote_last_response(state, "upvote", "Pangea-7b")
|
|
|
115 |
return state
|
116 |
|
117 |
def downvote_last_response(state):
|
118 |
vote_last_response(state, "downvote", "Pangea-7b")
|
|
|
119 |
return state
|
120 |
|
121 |
class InferenceDemo(object):
|
|
|
112 |
|
113 |
def upvote_last_response(state):
|
114 |
vote_last_response(state, "upvote", "Pangea-7b")
|
115 |
+
gr.Info("Thank you for your voting!")
|
116 |
return state
|
117 |
|
118 |
def downvote_last_response(state):
|
119 |
vote_last_response(state, "downvote", "Pangea-7b")
|
120 |
+
gr.Info("Thank you for your voting!")
|
121 |
return state
|
122 |
|
123 |
class InferenceDemo(object):
|