Francisco Zanartu commited on
Commit
862e6a5
β€’
1 Parent(s): cdd1c92

rename utils to structured for clarity

Browse files
app.py CHANGED
@@ -4,7 +4,7 @@ Module for detecting fallacies in text.
4
  """
5
 
6
  import gradio as gr
7
- from utils.core import HamburgerStyle
8
  from context.palm import rebuttal_generator
9
  from single.GPT4 import rebuttal_gen
10
 
 
4
  """
5
 
6
  import gradio as gr
7
+ from structured.core import HamburgerStyle
8
  from context.palm import rebuttal_generator
9
  from single.GPT4 import rebuttal_gen
10
 
{utils β†’ structured}/climate_fever_cards.csv RENAMED
File without changes
{utils β†’ structured}/core.py RENAMED
@@ -56,7 +56,7 @@ class HamburgerStyle:
56
  self.taxonomy_cards = "crarojasca/TaxonomyAugmentedCARDS"
57
 
58
  self.dirname = os.path.dirname(os.path.abspath("__file__"))
59
- self.filename = os.path.join(self.dirname, "utils/climate_fever_cards.csv")
60
 
61
  def generate_st_layer(self, misinformation):
62
  ## FACT: ReAct
 
56
  self.taxonomy_cards = "crarojasca/TaxonomyAugmentedCARDS"
57
 
58
  self.dirname = os.path.dirname(os.path.abspath("__file__"))
59
+ self.filename = os.path.join(self.dirname, "structured/climate_fever_cards.csv")
60
 
61
  def generate_st_layer(self, misinformation):
62
  ## FACT: ReAct
{utils β†’ structured}/definitions.py RENAMED
File without changes
{utils β†’ structured}/examples.py RENAMED
File without changes
{utils β†’ structured}/templates.py RENAMED
File without changes