Add application file
Browse files
app.py
CHANGED
@@ -594,7 +594,8 @@ def main(INPUT_FILE, OUTPUT_FILE, PROMPT_ID, PROMPT_TOPIC, MULTI_PV, NUM_WORDS,
|
|
594 |
#START_TURN, MODEL_TAG)
|
595 |
|
596 |
def premain(ip):
|
597 |
-
txtoutput = main("
|
|
|
598 |
return txtoutput
|
599 |
|
600 |
demo = gr.Interface(fn=premain, inputs="text", outputs="text")
|
|
|
594 |
#START_TURN, MODEL_TAG)
|
595 |
|
596 |
def premain(ip):
|
597 |
+
#txtoutput = main("Kanga.txt", "KangaroosByQ06.lif", "KangarooEssay", "The Mating Habits of Kangaroos", 100, 1000, 10000, 1, 0, 1, "Qwen")
|
598 |
+
txtoutput = main("Kanga20.txt", "Kanga20ByQ06.lif", "KangarooEssay", "The Mating Habits of Kangaroos", 100, 1000, 10000, 1, 0, 1, "Qwen")
|
599 |
return txtoutput
|
600 |
|
601 |
demo = gr.Interface(fn=premain, inputs="text", outputs="text")
|