jbilcke-hf HF staff commited on
Commit
29e7afb
β€’
1 Parent(s): 82d85df

disabling stuff that doesn't work

Browse files
src/app/engine/render.ts CHANGED
@@ -59,7 +59,10 @@ export async function newRender({
59
  // no need to upscale right now as we generate tiny panels
60
  // maybe later we can provide an "export" button to PDF
61
  upscalingFactor: 2,
62
- analyze: true,
 
 
 
63
  cache: "ignore"
64
  } as Partial<RenderRequest>),
65
  cache: 'no-store',
 
59
  // no need to upscale right now as we generate tiny panels
60
  // maybe later we can provide an "export" button to PDF
61
  upscalingFactor: 2,
62
+
63
+ // analyzing doesn't work yet, it seems..
64
+ analyze: false, // analyze: true,
65
+
66
  cache: "ignore"
67
  } as Partial<RenderRequest>),
68
  cache: 'no-store',
src/app/interface/top-menu/index.tsx CHANGED
@@ -121,7 +121,8 @@ export function TopMenu() {
121
  <Select
122
  defaultValue={fontList.includes(preset.font) ? preset.font : "cartoonist"}
123
  onValueChange={(value) => { setFont(value as FontName) }}
124
- disabled={atLeastOnePanelIsBusy}
 
125
  >
126
  <SelectTrigger className="flex-grow">
127
  <SelectValue className="text-sm" placeholder="Type" />
 
121
  <Select
122
  defaultValue={fontList.includes(preset.font) ? preset.font : "cartoonist"}
123
  onValueChange={(value) => { setFont(value as FontName) }}
124
+ // disabled={atLeastOnePanelIsBusy}
125
+ disabled={true}
126
  >
127
  <SelectTrigger className="flex-grow">
128
  <SelectValue className="text-sm" placeholder="Type" />