Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -302,7 +302,7 @@ class GradioInterface:
|
|
302 |
full_response
|
303 |
)
|
304 |
|
305 |
-
|
306 |
try:
|
307 |
original_output = self.prompt_refiner.apply_prompt(original_prompt, model)
|
308 |
refined_output = self.prompt_refiner.apply_prompt(refined_prompt, model)
|
|
|
302 |
full_response
|
303 |
)
|
304 |
|
305 |
+
def apply_prompts(self, original_prompt: str, refined_prompt: str, model: str):
|
306 |
try:
|
307 |
original_output = self.prompt_refiner.apply_prompt(original_prompt, model)
|
308 |
refined_output = self.prompt_refiner.apply_prompt(refined_prompt, model)
|